﻿using System;
using System.Collections.Generic;

namespace TemplateTool.Page
{

    public class PageList<TData> : PageData<TData, PageInfo>
    {

    }

    public abstract class PageData<TData, TPageInfo>
    {
        public List<TData> Data { get; set; }

        public TPageInfo PageInfo { get; set; }
    }

    public class PageInfo
    {
        public int Page { get; set; }

        public int PageSize { get; set; }

        public int TotalCount { get; set; }
    }

}

